<?php if ( ! defined('IN_DILICMS')) exit('No direct script access allowed');
$setting['models']['goods']=array (
  'id' => '2',
  'name' => 'goods',
  'description' => '器材管理',
  'perpage' => '20',
  'hasattach' => '0',
  'built_in' => '0',
  'thumb_preferences' => NULL,
  'fields' => 
  array (
    3 => 
    array (
      'id' => '3',
      'name' => 'name',
      'description' => '器材名称',
      'model' => '2',
      'type' => 'input',
      'length' => '0',
      'values' => '',
      'width' => '0',
      'height' => '0',
      'rules' => 'required',
      'ruledescription' => '',
      'searchable' => '0',
      'listable' => '1',
      'order' => '0',
      'editable' => '1',
    ),
    5 => 
    array (
      'id' => '5',
      'name' => 'price',
      'description' => '租赁价格',
      'model' => '2',
      'type' => 'float',
      'length' => '0',
      'values' => '',
      'width' => '0',
      'height' => '0',
      'rules' => 'required',
      'ruledescription' => '',
      'searchable' => '0',
      'listable' => '1',
      'order' => '1',
      'editable' => '1',
    ),
    6 => 
    array (
      'id' => '6',
      'name' => 'unit',
      'description' => '所属单位',
      'model' => '2',
      'type' => 'select_from_model',
      'length' => '0',
      'values' => 'unit|area',
      'width' => '0',
      'height' => '0',
      'rules' => 'required',
      'ruledescription' => '',
      'searchable' => '0',
      'listable' => '1',
      'order' => '2',
      'editable' => '1',
    ),
    4 => 
    array (
      'id' => '4',
      'name' => 'img',
      'description' => '器材图片',
      'model' => '2',
      'type' => 'file',
      'length' => '0',
      'values' => '',
      'width' => '0',
      'height' => '0',
      'rules' => '',
      'ruledescription' => '',
      'searchable' => '0',
      'listable' => '0',
      'order' => '3',
      'editable' => '1',
    ),
  ),
  'listable' => 
  array (
    0 => '3',
    1 => '5',
    2 => '6',
  ),
  'searchable' => 
  array (
  ),
);